<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>石家庄社区检验网--信息反馈</title>
</head>
<body>


<div class="nav"><span class="menuButton">
	<span class="i6">
	<s:url id="createFeedBack" value="create">
             <s:param name="objectName" >FeedBack</s:param>
          </s:url> 
	 <s:a href="%{createFeedBack}" >	我要反馈</s:a>
	
</span>
</span></div>
<div class="body">
<h1>感谢所有反馈者</h1>
<table>
	<thead>
		<tr>
		<td>
			<s:text name="feedBack.unitName.label"/>	</td>
		<td>
			<s:text name="feedBack.manageDoctor.label" />
	    </td>
		</tr>
	</thead>
	<tbody>
		<s:iterator value="listAll">
		<s:url id="url2" value="objectShow">
             <s:param name="id"><s:property value="id"/></s:param>
           <s:param name="objectName" >FeedBack</s:param>
          </s:url> 
			<tr>
				<td style="width:200px;height:35px;text-align:center;margin-top:10px;">
				<s:a href="%{url2} " target="_blank">	<s:property value="unitName"/></s:a>
					
				</td>
				<td  style="width:150px;text-align:center;">
				<s:a href="%{url2} " target="_blank"><s:property value="manageDoctor"/></s:a>
				</td>
				

				<%if(session.getAttribute("userRole")!=null&&session.getAttribute("userRole").equals("ROLE_管理员")){ %>
           <td  style="width:150px;text-align:center;">
          <s:url id="edit" value="edit">
             <s:param name="id"><s:property value="id"/></s:param>
             <s:param name="objectName" >FeedBack</s:param>
          </s:url> 
				<s:a href="%{edit} " target="_blank">编辑</s:a>
				</td>
              <%}%>
			
				
			</tr>
		</s:iterator>
	</tbody>
</table>
</div>
<br/>
<br/>

</body>
</html>